package com.example.SpringBoot_demo.service;

import com.example.SpringBoot_demo.bean.BlackUser;
import com.example.SpringBoot_demo.bean.User;

import java.util.List;

public interface BlackListService {
    List<BlackUser> viewBlackList(int page, int numb);

    List<BlackUser> searchBlackUser(String id,String name);

    void deleteBlackUser(String id);

    List<User> viewUserList(int page,int numb);
    void addBlackUser(String userid,String username);
    int countPage(String listname);
    List<User> searchUser(String userid, String username);
}
